package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 排课详情
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("course_scheduling_detail")
@ApiModel(value = "CourseSchedulingDetail对象", description = "排课详情")
public class CourseSchedulingDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("调课后原来的id")
    private Long pid;

    private Long schoolId;

    @ApiModelProperty("校区名")
    private String schoolName;

    @ApiModelProperty("所属排课id")
    private Long courseSchedulingId;

    @ApiModelProperty("班级id")
    private Long gradeId;

    @ApiModelProperty("班级名")
    private String gradeName;

    @ApiModelProperty("课程id")
    private Long courseId;

    @ApiModelProperty("课程名")
    private String courseName;

    @ApiModelProperty("上课日期")
    private LocalDate schoolDate;

    @ApiModelProperty("上课时段开始")
    private String timeStart;

    @ApiModelProperty("上课时段结束")
    private String timeEnd;

    @ApiModelProperty("上课开始时间")
    private LocalDateTime startDateTime;

    @ApiModelProperty("上课结束时间")
    private LocalDateTime endDateTime;

    @ApiModelProperty("排课方式，1自由排课，2是重复排课")
    private Integer arrangingWay;

    @ApiModelProperty("上课老师")
    private Long teacherId;

    @ApiModelProperty("上课老师名")
    private String teacherName;

    @ApiModelProperty("助教id")
    private Long assistantId;

    @ApiModelProperty("助教名")
    private String assistantName;

    @ApiModelProperty("上课教室")
    private Long classRoomId;

    @ApiModelProperty("上课教室名")
    private String classRoomName;

    @ApiModelProperty("科目id")
    private Long subjectsId;

    @ApiModelProperty("科目名")
    private String subjectsName;

    @ApiModelProperty("0未记上课，1已记上课")
    private Integer status;

    @ApiModelProperty("1正常排课，2调课（改变了上课时间新增的数据）")
    private Integer type;

    private Integer yearPart;

    private Integer quarter;

    @ApiModelProperty("创建人")
    private Long createdId;

    @ApiModelProperty("deleted")
    private Integer deleted;

    @ApiModelProperty("created_at")
    private LocalDateTime createdAt;

    @ApiModelProperty("updated_at")
    private LocalDateTime updatedAt;

    @ApiModelProperty("deleted_at")
    private LocalDateTime deletedAt;

    @ApiModelProperty("是否锁住表，定时扣课时，用来避免重复扣，0否，1是")
    private Integer isLock;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }
    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }
    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }
    public Long getCourseSchedulingId() {
        return courseSchedulingId;
    }

    public void setCourseSchedulingId(Long courseSchedulingId) {
        this.courseSchedulingId = courseSchedulingId;
    }
    public Long getGradeId() {
        return gradeId;
    }

    public void setGradeId(Long gradeId) {
        this.gradeId = gradeId;
    }
    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }
    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }
    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }
    public LocalDate getSchoolDate() {
        return schoolDate;
    }

    public void setSchoolDate(LocalDate schoolDate) {
        this.schoolDate = schoolDate;
    }
    public String getTimeStart() {
        return timeStart;
    }

    public void setTimeStart(String timeStart) {
        this.timeStart = timeStart;
    }
    public String getTimeEnd() {
        return timeEnd;
    }

    public void setTimeEnd(String timeEnd) {
        this.timeEnd = timeEnd;
    }
    public LocalDateTime getStartDateTime() {
        return startDateTime;
    }

    public void setStartDateTime(LocalDateTime startDateTime) {
        this.startDateTime = startDateTime;
    }
    public LocalDateTime getEndDateTime() {
        return endDateTime;
    }

    public void setEndDateTime(LocalDateTime endDateTime) {
        this.endDateTime = endDateTime;
    }
    public Integer getArrangingWay() {
        return arrangingWay;
    }

    public void setArrangingWay(Integer arrangingWay) {
        this.arrangingWay = arrangingWay;
    }
    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }
    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }
    public Long getAssistantId() {
        return assistantId;
    }

    public void setAssistantId(Long assistantId) {
        this.assistantId = assistantId;
    }
    public String getAssistantName() {
        return assistantName;
    }

    public void setAssistantName(String assistantName) {
        this.assistantName = assistantName;
    }
    public Long getClassRoomId() {
        return classRoomId;
    }

    public void setClassRoomId(Long classRoomId) {
        this.classRoomId = classRoomId;
    }
    public String getClassRoomName() {
        return classRoomName;
    }

    public void setClassRoomName(String classRoomName) {
        this.classRoomName = classRoomName;
    }
    public Long getSubjectsId() {
        return subjectsId;
    }

    public void setSubjectsId(Long subjectsId) {
        this.subjectsId = subjectsId;
    }
    public String getSubjectsName() {
        return subjectsName;
    }

    public void setSubjectsName(String subjectsName) {
        this.subjectsName = subjectsName;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public Integer getYearPart() {
        return yearPart;
    }

    public void setYearPart(Integer yearPart) {
        this.yearPart = yearPart;
    }
    public Integer getQuarter() {
        return quarter;
    }

    public void setQuarter(Integer quarter) {
        this.quarter = quarter;
    }
    public Long getCreatedId() {
        return createdId;
    }

    public void setCreatedId(Long createdId) {
        this.createdId = createdId;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }
    public LocalDateTime getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(LocalDateTime deletedAt) {
        this.deletedAt = deletedAt;
    }
    public Integer getIsLock() {
        return isLock;
    }

    public void setIsLock(Integer isLock) {
        this.isLock = isLock;
    }

    @Override
    public String toString() {
        return "CourseSchedulingDetail{" +
            "id=" + id +
            ", pid=" + pid +
            ", schoolId=" + schoolId +
            ", schoolName=" + schoolName +
            ", courseSchedulingId=" + courseSchedulingId +
            ", gradeId=" + gradeId +
            ", gradeName=" + gradeName +
            ", courseId=" + courseId +
            ", courseName=" + courseName +
            ", schoolDate=" + schoolDate +
            ", timeStart=" + timeStart +
            ", timeEnd=" + timeEnd +
            ", startDateTime=" + startDateTime +
            ", endDateTime=" + endDateTime +
            ", arrangingWay=" + arrangingWay +
            ", teacherId=" + teacherId +
            ", teacherName=" + teacherName +
            ", assistantId=" + assistantId +
            ", assistantName=" + assistantName +
            ", classRoomId=" + classRoomId +
            ", classRoomName=" + classRoomName +
            ", subjectsId=" + subjectsId +
            ", subjectsName=" + subjectsName +
            ", status=" + status +
            ", type=" + type +
            ", yearPart=" + yearPart +
            ", quarter=" + quarter +
            ", createdId=" + createdId +
            ", deleted=" + deleted +
            ", createdAt=" + createdAt +
            ", updatedAt=" + updatedAt +
            ", deletedAt=" + deletedAt +
            ", isLock=" + isLock +
        "}";
    }
}
